package com.sh.studytwo;

import android.os.Bundle;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

import androidx.activity.EdgeToEdge;
import androidx.appcompat.app.AppCompatActivity;
import androidx.core.graphics.Insets;
import androidx.core.view.ViewCompat;
import androidx.core.view.WindowInsetsCompat;

public class ViewBorderActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        EdgeToEdge.enable(this);
        setContentView(R.layout.activity_view_border);
        TextView textView = findViewById(R.id.tv_code);
        ViewGroup.LayoutParams layoutParams = textView.getLayoutParams();
        layoutParams.height = 400;
        layoutParams.width = 400;
        textView.setLayoutParams(layoutParams);

    }
}